.lf 1 ./smdisp.1
.pl 29.7c
.\\" $Id: smdisp.1,v 1.3 2004/07/11 08:04:47 bhepple Exp $
.TH SMDISP 1 "Tue Nov 3 1992" "\&\(co Bob Hepple"
.UC 4
.SH NAME
smdisp \- run a program every X seconds and show the results via a curses updated screen
.SH SYNOPSIS
.B smdisp
[
.B \-t interval
]
[
.B \-i
]
[
.B \-l last_line
]
[
.B \-h
]
command
.SH DESCRIPTION
.B smdisp
runs the
.I command
every
.I interval
seconds and displays the result on the screen using 
.B
curses
.SH OPTIONS
.TP
.B -h
gives the head of the file
.TP
.B -i
ignores the 'q' key
.TP
.B -t interval
set the update interval to t seconds (default 1)
.TP
.B -l last_line
Set the last line to be displayed - sort of a scrolling operation.
.SH INTERACTIVE CONTROL
While
.B smdisp
is running, the following keys are operative:
.TP
.B 1 a ^A
Start of display
.TP
.B $ e ^E
End of display
.TP
.B k ^K p ^P
Back one line
.TP
.B j ^J n ^N
Forward one line
.TP
.B u ^U
Back one page
.TP
.B d ^D v ^V Space
Forward one page
.TP
.B q
Quit (unless the -i option was given)
.TP
.B ^C
Quits
.SH EXAMPLES
.B smdisp ps ax
runs the ps command every second - a bit like
.B top
only you can scroll the display up and down
.SH "SEE ALSO"
Postscript version of these man pages which have screenshots -
probably in /usr/share/doc/scrmgr-X.Y.
.LP
.lf 1 ./smdisp.lst
.BR scrmgr (1),
.BR sm2awk  (1),
.BR sm2c  (1),
.BR smcalc (1),
.BR smclean (1),
.BR smcreate  (1),
.BR smdata (1),
.BR smedit (1),
.BR smfind (1),
.BR smgrep (1),
.BR smproj  (1),
.BR smquick  (1),
.BR smsort (1),
.BR smtree (1),
.BR smupdate  (1),
.BR xctool (1),
.BR pcurse (1)
.lf 82 ./smdisp.1
.SH AUTHOR
Bob Hepple <bhepple@freeshell.org>
.SH COPYRIGHT
Copyright \(co 1991-2002 Bob Hepple
